//
//  DateBtn.swift
//  HuaYun
//
//  Created by enghou on 2019/1/8.
//  Copyright © 2019 xyxorigation. All rights reserved.
//

import UIKit

class DateBtn: UIView {

    
    var date: String{
        set{
            dateLabel.text = date
        }
        get{
            return dateLabel.text ?? ""
        }
    }
    @IBOutlet weak var dateLabel: UILabel!
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
